package vn.fsoft.gst.dao;

import java.util.List;

import vn.fsoft.gst.domain.SupportingMaterial;

/**
 * This SupportingMaterialDAO interface provides methods for processing
 * SupportingMaterial table
 * 
 * @author TienNM
 *
 */
public interface SupportingMaterialDAO {
    /**
     * @param supportingMaterial
     * @return
     */
    public int addSupportingMaterial(SupportingMaterial supportingMaterial);

    /**
     * @param supportingMaterial
     */
    public void editSupportingMaterial(SupportingMaterial supportingMaterial);

    /**
     * @param Id
     */
    public void deleteSupportingMaterial(int Id);

    /**
     * @param Id
     * @return
     */
    public SupportingMaterial getById(int Id);

    /**
     * @return
     */
    public List<SupportingMaterial> getAll();

    /**
     * @param Id
     */
    public void activeSupportingMaterial(int Id);

    /**
     * @param orgID
     * @return
     */
    public List<SupportingMaterial> getByOrg(int orgID);
}
